home *** CD-ROM | disk | FTP | other *** search
/ PC Format (UK) 124 / pcfcd124-a.iso / PCF Menu.dxr / 00026_go to the frame.ls < prev    next >
Encoding:
Text File  |  2001-05-24  |  507 b   |  20 lines

  1. on enterFrame
  2.   set the locH of sprite 6 to the locH of sprite 6 - 2.5
  3.   if sprite(5).blend < 100 then
  4.     sprite(5).blend = sprite(5).blend + 2
  5.   end if
  6.   if (sprite(5).blend = 100) and (sprite(6).blend < 100) then
  7.     sprite(6).blend = sprite(6).blend + 2
  8.   end if
  9.   if (the width of sprite 6 < 376) and (the locH of sprite 6 < 57) then
  10.     set the locH of sprite 6 to 57
  11.   end if
  12.   if the locH of sprite 6 < -600 then
  13.     set the locH of sprite 6 to 460
  14.   end if
  15. end
  16.  
  17. on exitFrame me
  18.   go(the frame)
  19. end
  20.